package com.ruoyi.project.system.commodity.servuce;

import com.ruoyi.project.system.commodity.domain.SpecsKey;
import com.ruoyi.project.system.commodity.domain.SpecsValue;
import com.ruoyi.project.system.commodity.mapper.SpecsKeyMapper;
import com.ruoyi.project.system.commodity.mapper.SpecsValueMapper;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

@Service
public class SpecsValueServiceImp implements SpecsValueService{
    @Autowired
    SpecsValueMapper specsValueMapper;
    @Override
    public int insertSpecsValue(SpecsValue specsValue) {
        return specsValueMapper.insertSpecsValue(specsValue);
    }


    @Override
    public void updateSpecsValueById(SpecsValue specsValue) {
        specsValueMapper.updateSpecsValueById(specsValue);
    }
}
